package by.grsu.pochebut.web;

import org.apache.wicket.Page;

import by.grsu.pochebut.webpage.MyPage;
import by.grsu.pochebut.webpage.booking.ListBookingPage;
import by.grsu.pochebut.webpage.car.ListCarPage;
import by.grsu.pochebut.webpage.client.ListClientPage;

import com.epam.grsulab.webapi.web.app.WicketApplication;



public class WebApplication extends WicketApplication {
	public WebApplication() {
		super();
		
		
		mountBookmarkablePage("cars", ListCarPage.class);
		mountBookmarkablePage("clients", ListClientPage.class);
		mountBookmarkablePage("bookings", ListBookingPage.class);	

	}

	@Override
	public Class<? extends Page> getHomePage() {
		return MyPage.class;
	}
}

